﻿using System;
using System.Configuration;

namespace netaddICTs.Umb.ProtectedMedia.Business.Configuration{
    
    public class Node : ConfigurationElement {

        internal const string UmbracoNodeIdPropertyName = "umbracoNodeId";

        [ConfigurationProperty(UmbracoNodeIdPropertyName, IsRequired = true, IsKey = true, IsDefaultCollection = false, DefaultValue = "-1")]
        public Int32 UmbracoNodeId{
            get { return (Int32) base[UmbracoNodeIdPropertyName]; }
            set { base[UmbracoNodeIdPropertyName] = value; }
        }
    }
}